package com.hzncc.scaffold.mapper;

import com.hzncc.scaffold.entity.Other.Course;
import com.hzncc.scaffold.entity.Other.Major;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 专业表 Mapper 接口
 * </p>
 *
 * @author DrunkBear
 * @since 2022-04-27
 */
public interface MajorMapper extends BaseMapper<Major> {

    public List<Course> checkUsed(Integer majorId);
}
